<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
</head>

<body >
<form >
    <h1 th:text="#{login.tip}">Please sign in</h1>
    <label >[[#{login.userName}]]</label>
    <input type="text"  th:placeholder="#{login.userName}" required="true" autofocus="#{login.userName}">
    <label>[[#{login.password}]]</label>
    <input type="password" th:placeholder="#{login.password}" required="true">
    <div>
        <label>
            <input type="checkbox" value="remember">  [[#{login.remember}]]
        </label>
    </div>
    <button th:text="#{login.btn}" type="submit">Sign in</button>
    <p>© 2017-2018</p>
    <a th:href="@{/login.html(lang='zh_CN')}">中文</a>
    <a th:href="@{/login.html(lang='en_US')}">English</a>
</form>
</body>
</html>